///#begin zh-cn
//
//  Created by ShareSDK.cn on 13-1-14.
//  官网地址:http://www.ShareSDK.cn
//  技术支持邮箱:support@sharesdk.cn
//  官方微信:ShareSDK   （如果发布新版本的话，我们将会第一时间通过微信将版本更新内容推送给您。如果使用过程中有任何问题，也可以通过微信与我们取得联系，我们将会在24小时内给予回复）
//  商务QQ:4006852216
//  Copyright (c) 2013年 ShareSDK.cn. All rights reserved.
//
///#end
///#begin en
//
//  Created by ShareSDK.cn on 13-1-14.
//  website:http://www.ShareSDK.cn
//  Support E-mail:support@sharesdk.cn
//  WeChat ID:ShareSDK   （If publish a new version, we will be push the updates content of version to you. If you have any questions about the ShareSDK, you can get in touch through the WeChat with us, we will respond within 24 hours）
//  Business QQ:4006852216
//  Copyright (c) 2013年 ShareSDK.cn. All rights reserved.
//
///#end

#import <Foundation/Foundation.h>
#import <ShareSDKCoreService/ShareSDKCoreService.h>
#import "SSTwitterUser.h"
#import "SSTwitterErrorInfo.h"
#import "SSTwitterTweets.h"
#import <ShareSDK/ShareSDKPlugin.h>

///#begin zh-cn
/**
 *	@brief	Twitter应用协议
 */
///#end
///#begin en
/**
 *	@brief	Twitter App Protocol.
 */
///#end
@protocol ISSTwitterApp <ISSPlatformApp>

///#begin zh-cn
/**
 *	@brief	获取消费者Key
 *
 *	@return	消费者Key
 */
///#end
///#begin en
/**
 *	@brief	Get consumer key.
 *
 *	@return	Consumer key.
 */
///#end
- (NSString *)consumerKey;

///#begin zh-cn
/**
 *	@brief	获取消费者密钥
 *
 *	@return	消费者密钥
 */
///#end
///#begin en
/**
 *	@brief	Get consumer secret.
 *
 *	@return	Consumer secret.
 */
///#end
- (NSString *)consumerSecret;

///#begin zh-cn
/**
 *	@brief	获取应用回调地址
 *
 *	@return	应用回调地址
 */
///#end
///#begin en
/**
 *	@brief	Get redirect uri.
 *
 *	@return	Redirect uri.
 */
///#end
- (NSString *)redirectUri;

///#begin zh-cn
/**
 *	@brief	更新状态信息
 *
 *	@param 	status 	状态信息
 *  @param  locationCoordinate  地理位置
 *  @param  result  返回回调
 */
///#end
///#begin en
/**
 *	@brief	Update status.
 *
 *	@param 	status 	Content string.
 *  @param  locationCoordinate  Location coordinate.
 *  @param  result  Result handler.
 */
///#end
- (void)updateWithStatus:(NSString *)status
      locationCoordinate:(SSCLocationCoordinate2D *)locationCoordinate
                  result:(SSShareResultEvent)result;

///#begin zh-cn
/**
 *	@brief	更新带媒体的状态信息
 *
 *	@param 	status 	状态信息
 *	@param 	media 	媒体信息
 *  @param  locationCoordinate  地理位置
 *  @param  result  返回回调
 */
///#end
///#begin en
/**
 *	@brief	Update status.
 *
 *	@param 	status 	Content string.
 *	@param 	media 	Media information.
 *  @param  locationCoordinate  Location coordinate.
 *  @param  result  Result handler.
 */
///#end
- (void)updateWithStatus:(NSString *)status
                   media:(id<ISSCAttachment>)media
      locationCoordinate:(SSCLocationCoordinate2D *)locationCoordinate
                  result:(SSShareResultEvent)result;

///#begin zh-cn
/**
 *	@brief	更新带媒体的状态信息
 *
 *	@param 	status 	状态信息
 *	@param 	media 	媒体信息数组（数组元素是id<ISSCAttachment>类型））
 *  @param  locationCoordinate  地理位置
 *  @param  result  返回回调
 */
///#end
///#begin en
/**
 *	@brief	Update status.
 *
 *	@param 	status 	Content string.
 *	@param 	media 	Media information array (the type of array element is id<ISSCAttachment>).
 *  @param  locationCoordinate  Location coordinate.
 *  @param  result  Result handler.
 */
///#end
- (void)updateWithStatus:(NSString *)status
              mediaArray:(NSMutableArray *)mediaArray
      locationCoordinate:(SSCLocationCoordinate2D *)locationCoordinate
                  result:(SSShareResultEvent)result;


@end
